package com.dhsc.controller.yykh.yyzlkh;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.dhsc.domain.ywzx.yykh.yyzlkh.YwxtcsVo;
import com.dhsc.domain.yypt.LayuiTableVo;
import com.dhsc.domain.yypt.ResponseObject;
import com.dhsc.service.yykh.yyzlkh.IYwxtcsService;

/**
 * @ClassName YwxtcsController
 * @description: 业务系统测试
 * @author: gx
 * @create: 2024-04-25 19:10:08
 **/
@Controller
@RequestMapping("/yykh/yyzlkh")
public class YwxtcsController {

    @Autowired
    private IYwxtcsService ywxtcsService;

    /**
    * @Description: 查询业务系统测试
    * @MessageName: queryYwxtcs
    * @param: ywxtcsVo
    * @return: LayuiTableVo
    * @Author: gx
    * @Date: 2024/4/25 19:12
    */
    @ResponseBody
    @RequestMapping(value="/queryYwxtcs")
    public LayuiTableVo queryYwxtcs(YwxtcsVo ywxtcsVo)
    {
        return ywxtcsService.queryYwxtcs(ywxtcsVo);
    }

    /**
    * @Description: 保存业务系统测试
    * @MessageName: saveYwxtcs
    * @param: ywxtcsVo
    * @return: ResponseObject
    * @Author: gx
    * @Date: 2024/4/26 13:25
    */
    @ResponseBody
    @RequestMapping(value="/saveYwxtcs")
    public ResponseObject saveYwxtcs(YwxtcsVo ywxtcsVo)
    {
        return ywxtcsService.saveYwxtcs(ywxtcsVo);
    }
}
